package com.whut.customer.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 飞机信息表
 * </p>
 *
 * @author author
 * @since 2021-02-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("plane_information")
@ApiModel(value="PlaneInformation对象", description="飞机信息表")
public class PlaneInformation implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "飞机id")
    @TableField("plane_id")
    private Long planeId;

    @ApiModelProperty(value = "飞机机型")
    @TableField("plane_name")
    private Float planeName;

    @ApiModelProperty(value = "飞机编号")
    @TableField("plane_index")
    private Float planeIndex;

    @ApiModelProperty(value = "飞机质量")
    @TableField("plane_height")
    private Float planeHeight;

    @ApiModelProperty(value = "飞机状态")
    @TableField("status")
    private Long status;

    @TableField("add_time")
    private LocalDateTime addTime;


}
